<template>
    <div>
        <h1>test</h1>
        <button @click="runTest">test</button>
    </div>
</template>

<script setup>
import frontApi from '@/api/front'

const runTest = async () => {
    try {
        const data = await frontApi.test()
        console.log(data)

    } catch (error) {
        console.error('测试出错:', error)
    } finally {
        isLoading.value = false
    }
}

</script>

<style scoped lang="scss">


</style>